#ifndef __GUI_BASIC_H__
#define __GUI_BASIC_H__

#include	"fonts.h"
/**LCD颜色定义*/
#define     RED         0xF800
#define     GREEN       0x07E0
#define     BLUE        0x001F
#define     BLUE0       0x07FF
#define     RED1        0xFBE0
#define     WHITE       0xFFFF
#define     BLACK       0x0000
//#define     YELLOW      0xFFF0

#define     BROWN       0xBC40
#define     BREED       0xFC07
#define     GRAY        0x8430
#define     DARKBLUE    0x01CF
#define     LIGHTBLUE   0x7D7C
#define     GRAYBLUE    0x5458

#define     PINK        0xE9CE
#define     DARKBROWN   0xD5B1
#define     TAN         0xA285
#define     SKYBLUE     0x05FF
#define     ROYALBLUE   0x435C
#define     MINT        0xF5FF
#define     SILVERYWHITE    0xC618
#define     LIGHTGREY       0x8410
// #define     ORANGE          0xFBEA
/*******************LCD显示区域的起始坐标和总行列数********************/
#define		LCD_DisplayWindow_X_Start		1    //因为坐标的起点为1,故这里设置为1
#define     LCD_DisplayWindow_Y_Start		1

sFONT * LCD_GetFont(void);
void	LCD_SetFonts(sFONT * fonts);
void    LCD_DispString_EN_CH(uint16_t usX, uint16_t usY, const char *pStr,uint32_t BitMap);
void	LCD_DrawRectangle(uint16_t usX_Start,uint16_t usY_Start,uint16_t usWidth,uint16_t usHeight,uint8_t ucFilled);
void    LCD_DrawArc4(uint16_t x, uint16_t y, uint16_t r, uint8_t angle);
void	LCD_DrawLine(uint16_t usX1,uint16_t usY1,uint16_t usX2,uint16_t usY2);
void	LCD_Clear(uint16_t usX,uint16_t usY,uint16_t usWidth,uint16_t usHeight);
void    LCD_GetColors(uint16_t *TextColor,uint16_t *BackColor);
void	LCD_SetBackColor(uint16_t Color);
void	LCD_SetTextColor(uint16_t Color);
void    LCD_SetColors(uint16_t TextColor,uint16_t BackColor);
void    ChangeColor(void);


extern uint16_t CurrentTextColor;  //前景色(文字的颜色)   什么前景色是黑色?
extern uint16_t CurrentBackColor;  //背景色
extern uint16_t ORANGE;
extern uint16_t YELLOW;
#endif